package org.example.book.normal.observe;

import org.example.book.normal.state.order.DeprecatedConstants;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

@Component
public class DeprecatedCreateObserver extends DeprecatedAbstractObserver{

    @PostConstruct
    public void init() {
        DeprecatedConstants.OBSERVERS.add(this);
    }

    @Override
    public void orderStateHandle(String orderId, String orderState) {
    }
}
